사이트 내 전체검색
PHP
[php] [Mysql] ifnull
로빈아빠
https://cmd.kr/php/503 URL이 복사되었습니다.

본문

[Mysql] ifnull

필드값이 NULL일 경우 에러가 발생하면 특정값으로 대체한다.
select ifnull(max(rank),-1) from table
select ifnull(name,'MintSate') form table

댓글목록

등록된 댓글이 없습니다.

PHP
871 (9/18P)

Search

Copyright © Cmd 명령어 18.222.3.255